<!DOCTYPE html>
<html lang="en" dir="ltr"
    xmlns:dc="http://purl.org/dc/terms/">
<head>
    <meta charset="utf-8" />
    <meta name="generator" content="diff2html.py (http://git.droids-corp.org/gitweb/?p=diff2html)" />
    <!--meta name="author" content="Fill in" /-->
    <title>HTML Diff timeouts/blocking_token_tcp_client.cpp</title>
    <link rel="shortcut icon" href="" type="image/png" />
    <meta property="dc:language" content="en" />
    <!--meta property="dc:date" content="" /-->
    <meta property="dc:modified" content="2018-12-12T09:34:24.087858+01:00" />
    <meta name="description" content="File comparison" />
    <meta property="dc:abstract" content="File comparison" />
    <style>
        table { border:0px; border-collapse:collapse; width: 100%; font-size:0.75em; font-family: Lucida Console, monospace }
        td.line { color:#8080a0 }
        th { background: black; color: white }
        tr.diffunmodified td { background: #D0D0E0 }
        tr.diffhunk td { background: #A0A0A0 }
        tr.diffadded td { background: #CCFFCC }
        tr.diffdeleted td { background: #FFCCCC }
        tr.diffchanged td { background: #FFFFA0 }
        span.diffchanged2 { background: #E0C880 }
        span.diffponct { color: #B08080 }
        tr.diffmisc td {}
        tr.diffseparator td {}
    </style>
</head>
<body>

    <table class="diff">
<tr><th colspan='2'>src/&#8203;examples/&#8203;cpp03/&#8203;timeouts/&#8203;blocking_token_tcp_cl&#8203;ient.&#8203;cpp</th><th colspan='2'>src/&#8203;examples/&#8203;cpp11/&#8203;timeouts/&#8203;blocking_token_tcp_cl&#8203;ient.&#8203;cpp</th></tr>
<tr class="diffhunk"><td colspan="2">&#8942;</td><td colspan="2">&#8942;</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;blocking_token_tcp_cl&#8203;ient.&#8203;cpp</td><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;blocking_token_tcp_cl&#8203;ient.&#8203;cpp</td></tr>
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~~~~~~~~~~~~&#8203;~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~~~~~~~~~~~~&#8203;~~~~~~~~</td></tr>
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2018<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2018<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td></tr>
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">10 </td><td class="diffpresent"></td><td class="diffline">10 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;connect.&#8203;hpp&quot;</td><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;connect.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;io_context.&#8203;hpp&quot;</td><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;io_context.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;ip/&#8203;tcp.&#8203;hpp&quot;</td><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;ip/&#8203;tcp.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;read_until.&#8203;hpp&quot;</td><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;read_until.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;streambuf.&#8203;hpp&quot;</td><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;streambuf.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;system_error.&#8203;hpp&quot;</td><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;system_error.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;write.&#8203;hpp&quot;</td><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;asio/&#8203;write.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;cstdlib&gt;</td><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;cstdlib&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">19 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;iostream&gt;</td><td class="diffline">19 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;iostream&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">20 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;memory&gt;</td><td class="diffline">20 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;memory&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td><td class="diffline">21 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent"></td><td class="diffline">22 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent">using<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;ip:&#8203;:&#8203;tcp;&#8203;</td><td class="diffline">23 </td><td class="diffpresent">using<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;ip:&#8203;:&#8203;tcp;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">24 </td><td class="diffpresent"></td><td class="diffline">24 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent">/&#8203;/&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;</td><td class="diffline">25 </td><td class="diffpresent">/&#8203;/&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">26 </td><td class="diffpresent"></td><td class="diffline">26 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;A<span class="diffponct">&middot;</span>&#8203;custom<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;token<span class="diffponct">&middot;</span>&#8203;that<span class="diffponct">&middot;</span>&#8203;makes<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operations<span class="diffponct">&middot;</span>&#8203;behave<span class="diffponct">&middot;</span>&#8203;as</td><td class="diffline">27 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;A<span class="diffponct">&middot;</span>&#8203;custom<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;token<span class="diffponct">&middot;</span>&#8203;that<span class="diffponct">&middot;</span>&#8203;makes<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operations<span class="diffponct">&middot;</span>&#8203;behave<span class="diffponct">&middot;</span>&#8203;as</td></tr>
<tr class="diffunmodified"><td class="diffline">28 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;though<span class="diffponct">&middot;</span>&#8203;they<span class="diffponct">&middot;</span>&#8203;are<span class="diffponct">&middot;</span>&#8203;blocking<span class="diffponct">&middot;</span>&#8203;calls<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td><td class="diffline">28 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;though<span class="diffponct">&middot;</span>&#8203;they<span class="diffponct">&middot;</span>&#8203;are<span class="diffponct">&middot;</span>&#8203;blocking<span class="diffponct">&middot;</span>&#8203;calls<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent">struct<span class="diffponct">&middot;</span>&#8203;close_after</td><td class="diffline">29 </td><td class="diffpresent">struct<span class="diffponct">&middot;</span>&#8203;close_after</td></tr>
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent">{</td><td class="diffline">30 </td><td class="diffpresent">{</td></tr>
<tr class="diffchanged"><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;t,&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket&amp;<span class="diffponct">&middot;</span>&#8203;s)&#8203;</td><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;t,&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket&amp;<span class="diffponct">&middot;</span>&#8203;s)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;timeout_(t)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket_(s)&#8203;</td><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;timeout_(t)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket_(s)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">35 </td><td class="diffpresent"></td><td class="diffline">35 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;maximum<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;wait<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;complete.&#8203;</td><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;maximum<span class="diffponct">&middot;</span>&#8203;time<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;wait<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;complete.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;timeout_;&#8203;</td><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;timeout_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">38 </td><td class="diffpresent"></td><td class="diffline">38 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;socket<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;closed<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;does<span class="diffponct">&middot;</span>&#8203;not<span class="diffponct">&middot;</span>&#8203;complete<span class="diffponct">&middot;</span>&#8203;in<span class="diffponct">&middot;</span>&#8203;time.&#8203;</td><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;socket<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;closed<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;does<span class="diffponct">&middot;</span>&#8203;not<span class="diffponct">&middot;</span>&#8203;complete<span class="diffponct">&middot;</span>&#8203;in<span class="diffponct">&middot;</span>&#8203;time.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket&amp;<span class="diffponct">&middot;</span>&#8203;socket_;&#8203;</td><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket&amp;<span class="diffponct">&middot;</span>&#8203;socket_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">41 </td><td class="diffpresent">};&#8203;</td><td class="diffline">41 </td><td class="diffpresent">};&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">42 </td><td class="diffpresent"></td><td class="diffline">42 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;asio<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">43 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;asio<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">44 </td><td class="diffpresent"></td><td class="diffline">44 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">45 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;async_result<span class="diffponct">&middot;</span>&#8203;template<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;specialised<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;allow<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;close_after<span class="diffponct">&middot;</span>&#8203;token<span class="diffponct">&middot;</span>&#8203;to</td><td class="diffline">45 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;async_result<span class="diffponct">&middot;</span>&#8203;template<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;specialised<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;allow<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;close_after<span class="diffponct">&middot;</span>&#8203;token<span class="diffponct">&middot;</span>&#8203;to</td></tr>
<tr class="diffunmodified"><td class="diffline">46 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operations<span class="diffponct">&middot;</span>&#8203;that<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;signature<span class="diffponct">&middot;</span>&#8203;of</td><td class="diffline">46 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operations<span class="diffponct">&middot;</span>&#8203;that<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;signature<span class="diffponct">&middot;</span>&#8203;of</td></tr>
<tr class="diffunmodified"><td class="diffline">47 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;void(error_code,&#8203;<span class="diffponct">&middot;</span>&#8203;T)&#8203;.&#8203;<span class="diffponct">&middot;</span>&#8203;Generalising<span class="diffponct">&middot;</span>&#8203;this<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;all<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;signature<span class="diffponct">&middot;</span>&#8203;forms<span class="diffponct">&middot;</span>&#8203;is</td><td class="diffline">47 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;void(error_code,&#8203;<span class="diffponct">&middot;</span>&#8203;T)&#8203;.&#8203;<span class="diffponct">&middot;</span>&#8203;Generalising<span class="diffponct">&middot;</span>&#8203;this<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;all<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;signature<span class="diffponct">&middot;</span>&#8203;forms<span class="diffponct">&middot;</span>&#8203;is</td></tr>
<tr class="diffunmodified"><td class="diffline">48 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;left<span class="diffponct">&middot;</span>&#8203;as<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;exercise<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;reader.&#8203;</td><td class="diffline">48 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;left<span class="diffponct">&middot;</span>&#8203;as<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;exercise<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;reader.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">49 </td><td class="diffpresent">template<span class="diffponct">&middot;</span>&#8203;&lt;typename<span class="diffponct">&middot;</span>&#8203;T&gt;</td><td class="diffline">49 </td><td class="diffpresent">template<span class="diffponct">&middot;</span>&#8203;&lt;typename<span class="diffponct">&middot;</span>&#8203;T&gt;</td></tr>
<tr class="diffchanged"><td class="diffline">50 </td><td class="diffpresent">class<span class="diffponct">&middot;</span>&#8203;async_result&lt;close_af&#8203;ter,&#8203;<span class="diffponct">&middot;</span>&#8203;void(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;error_code,&#8203;<span class="diffponct">&middot;</span>&#8203;T)&#8203;&gt;</td><td class="diffline">50 </td><td class="diffpresent">class<span class="diffponct">&middot;</span>&#8203;async_result&lt;close_af&#8203;ter,&#8203;<span class="diffponct">&middot;</span>&#8203;void(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;error_code,&#8203;<span class="diffponct">&middot;</span>&#8203;T)&#8203;&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">51 </td><td class="diffpresent">{</td><td class="diffline">51 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">52 </td><td class="diffpresent">public:&#8203;</td><td class="diffline">52 </td><td class="diffpresent">public:&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;An<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;automatically<span class="diffponct">&middot;</span>&#8203;creates<span class="diffponct">&middot;</span>&#8203;an</td><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;An<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;automatically<span class="diffponct">&middot;</span>&#8203;creates<span class="diffponct">&middot;</span>&#8203;an</td></tr>
<tr class="diffunmodified"><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;completion_handler_ty&#8203;pe<span class="diffponct">&middot;</span>&#8203;object<span class="diffponct">&middot;</span>&#8203;from<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;token.&#8203;<span class="diffponct">&middot;</span>&#8203;This<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;object<span class="diffponct">&middot;</span>&#8203;is</td><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;completion_handler_ty&#8203;pe<span class="diffponct">&middot;</span>&#8203;object<span class="diffponct">&middot;</span>&#8203;from<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;token.&#8203;<span class="diffponct">&middot;</span>&#8203;This<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;object<span class="diffponct">&middot;</span>&#8203;is</td></tr>
<tr class="diffunmodified"><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;called<span class="diffponct">&middot;</span>&#8203;on<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;called<span class="diffponct">&middot;</span>&#8203;on<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;class<span class="diffponct">&middot;</span>&#8203;completion_handler_ty&#8203;pe</td><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;class<span class="diffponct">&middot;</span>&#8203;completion_handler_ty&#8203;pe</td></tr>
<tr class="diffunmodified"><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;public:&#8203;</td><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;public:&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;completion_handler_ty&#8203;pe(const<span class="diffponct">&middot;</span>&#8203;close_after&amp;<span class="diffponct">&middot;</span>&#8203;token)&#8203;</td><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;completion_handler_ty&#8203;pe(const<span class="diffponct">&middot;</span>&#8203;close_after&amp;<span class="diffponct">&middot;</span>&#8203;token)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;token_(token)&#8203;</td><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;token_(token)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">63 </td><td class="diffpresent"></td><td class="diffline">63 </td><td class="diffpresent"></td></tr>
<tr class="diffchanged"><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;operator()&#8203;(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;error_code<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">c</span>,&#8203;<span class="diffponct">&middot;</span>&#8203;T<span class="diffponct">&middot;</span>&#8203;t)&#8203;</td><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;void<span class="diffponct">&middot;</span>&#8203;operator()&#8203;(<span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span>s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;error_code<span class="diffchanged2">&amp;</span><span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>,&#8203;<span class="diffponct">&middot;</span>&#8203;T<span class="diffponct">&middot;</span>&#8203;t)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffchanged"><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;*e<span class="diffchanged2">c</span>_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">c</span>;&#8203;</td><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;*e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;*t_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;t;&#8203;</td><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;*t_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;t;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">68 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">68 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">69 </td><td class="diffpresent"></td><td class="diffline">69 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;private:&#8203;</td><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;private:&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">71 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;friend<span class="diffponct">&middot;</span>&#8203;class<span class="diffponct">&middot;</span>&#8203;async_result;&#8203;</td><td class="diffline">71 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;friend<span class="diffponct">&middot;</span>&#8203;class<span class="diffponct">&middot;</span>&#8203;async_result;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">72 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after<span class="diffponct">&middot;</span>&#8203;token_;&#8203;</td><td class="diffline">72 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after<span class="diffponct">&middot;</span>&#8203;token_;&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">73 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;error_code*<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">c</span>_;&#8203;</td><td class="diffline">73 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;error_code*<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">74 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;T*<span class="diffponct">&middot;</span>&#8203;t_;&#8203;</td><td class="diffline">74 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;T*<span class="diffponct">&middot;</span>&#8203;t_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">75 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;};&#8203;</td><td class="diffline">75 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;};&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">76 </td><td class="diffpresent"></td><td class="diffline">76 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">77 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;async_result<span class="diffponct">&middot;</span>&#8203;constructor<span class="diffponct">&middot;</span>&#8203;associates<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;handler<span class="diffponct">&middot;</span>&#8203;object<span class="diffponct">&middot;</span>&#8203;with</td><td class="diffline">77 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;async_result<span class="diffponct">&middot;</span>&#8203;constructor<span class="diffponct">&middot;</span>&#8203;associates<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;handler<span class="diffponct">&middot;</span>&#8203;object<span class="diffponct">&middot;</span>&#8203;with</td></tr>
<tr class="diffunmodified"><td class="diffline">78 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function.&#8203;</td><td class="diffline">78 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">79 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;explicit<span class="diffponct">&middot;</span>&#8203;async_result(completi&#8203;on_handler_type&amp;<span class="diffponct">&middot;</span>&#8203;h)&#8203;</td><td class="diffline">79 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;explicit<span class="diffponct">&middot;</span>&#8203;async_result(completi&#8203;on_handler_type&amp;<span class="diffponct">&middot;</span>&#8203;h)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">80 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;timeout_(h.&#8203;token_.&#8203;timeout_)&#8203;,&#8203;</td><td class="diffline">80 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;timeout_(h.&#8203;token_.&#8203;timeout_)&#8203;,&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">81 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;socket_(h.&#8203;token_.&#8203;socket_)&#8203;</td><td class="diffline">81 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;socket_(h.&#8203;token_.&#8203;socket_)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">82 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">82 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffchanged"><td class="diffline">83 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;h.&#8203;e<span class="diffchanged2">c</span>_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&amp;e<span class="diffchanged2">c</span>_;&#8203;</td><td class="diffline">83 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;h.&#8203;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&amp;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">84 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;h.&#8203;t_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&amp;t_;&#8203;</td><td class="diffline">84 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;h.&#8203;t_<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&amp;t_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">85 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">85 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">86 </td><td class="diffpresent"></td><td class="diffline">86 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;return_type<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;determines<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result<span class="diffponct">&middot;</span>&#8203;type<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous</td><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;return_type<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;determines<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result<span class="diffponct">&middot;</span>&#8203;type<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous</td></tr>
<tr class="diffunmodified"><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function.&#8203;</td><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;T<span class="diffponct">&middot;</span>&#8203;return_type;&#8203;</td><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;typedef<span class="diffponct">&middot;</span>&#8203;T<span class="diffponct">&middot;</span>&#8203;return_type;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">90 </td><td class="diffpresent"></td><td class="diffline">90 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">91 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;get()&#8203;<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;obtain<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous</td><td class="diffline">91 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;The<span class="diffponct">&middot;</span>&#8203;get()&#8203;<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;used<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;obtain<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous</td></tr>
<tr class="diffunmodified"><td class="diffline">92 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function.&#8203;<span class="diffponct">&middot;</span>&#8203;For<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;close_after<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;token,&#8203;<span class="diffponct">&middot;</span>&#8203;we</td><td class="diffline">92 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;operation's<span class="diffponct">&middot;</span>&#8203;initiating<span class="diffponct">&middot;</span>&#8203;function.&#8203;<span class="diffponct">&middot;</span>&#8203;For<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;close_after<span class="diffponct">&middot;</span>&#8203;completion<span class="diffponct">&middot;</span>&#8203;token,&#8203;<span class="diffponct">&middot;</span>&#8203;we</td></tr>
<tr class="diffunmodified"><td class="diffline">93 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;use<span class="diffponct">&middot;</span>&#8203;this<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;complete.&#8203;</td><td class="diffline">93 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;use<span class="diffponct">&middot;</span>&#8203;this<span class="diffponct">&middot;</span>&#8203;function<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;complete.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">94 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return_type<span class="diffponct">&middot;</span>&#8203;get()&#8203;</td><td class="diffline">94 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return_type<span class="diffponct">&middot;</span>&#8203;get()&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">95 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">95 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">96 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context&amp;<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;socket_.&#8203;get_executor()&#8203;.&#8203;context()&#8203;;&#8203;</td><td class="diffline">96 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context&amp;<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;socket_.&#8203;get_executor()&#8203;.&#8203;context()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">97 </td><td class="diffpresent"></td><td class="diffline">97 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">98 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Restart<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context,&#8203;<span class="diffponct">&middot;</span>&#8203;as<span class="diffponct">&middot;</span>&#8203;it<span class="diffponct">&middot;</span>&#8203;may<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;been<span class="diffponct">&middot;</span>&#8203;left<span class="diffponct">&middot;</span>&#8203;in<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;&quot;stopped&quot;<span class="diffponct">&middot;</span>&#8203;state</td><td class="diffline">98 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Restart<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context,&#8203;<span class="diffponct">&middot;</span>&#8203;as<span class="diffponct">&middot;</span>&#8203;it<span class="diffponct">&middot;</span>&#8203;may<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;been<span class="diffponct">&middot;</span>&#8203;left<span class="diffponct">&middot;</span>&#8203;in<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;&quot;stopped&quot;<span class="diffponct">&middot;</span>&#8203;state</td></tr>
<tr class="diffunmodified"><td class="diffline">99 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;by<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;previous<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td><td class="diffline">99 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;by<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;previous<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">100 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;restart()&#8203;;&#8203;</td><td class="diffline">100 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;restart()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">101 </td><td class="diffpresent"></td><td class="diffline">101 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">102 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Block<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;completed,&#8203;<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;timed<span class="diffponct">&middot;</span>&#8203;out.&#8203;<span class="diffponct">&middot;</span>&#8203;If</td><td class="diffline">102 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Block<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;has<span class="diffponct">&middot;</span>&#8203;completed,&#8203;<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;timed<span class="diffponct">&middot;</span>&#8203;out.&#8203;<span class="diffponct">&middot;</span>&#8203;If</td></tr>
<tr class="diffunmodified"><td class="diffline">103 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;pending<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;composed<span class="diffponct">&middot;</span>&#8203;operation,&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;deadline</td><td class="diffline">103 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;pending<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;composed<span class="diffponct">&middot;</span>&#8203;operation,&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;deadline</td></tr>
<tr class="diffunmodified"><td class="diffline">104 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;applies<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;entire<span class="diffponct">&middot;</span>&#8203;operation,&#8203;<span class="diffponct">&middot;</span>&#8203;rather<span class="diffponct">&middot;</span>&#8203;than<span class="diffponct">&middot;</span>&#8203;individual<span class="diffponct">&middot;</span>&#8203;operations<span class="diffponct">&middot;</span>&#8203;on</td><td class="diffline">104 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;applies<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;entire<span class="diffponct">&middot;</span>&#8203;operation,&#8203;<span class="diffponct">&middot;</span>&#8203;rather<span class="diffponct">&middot;</span>&#8203;than<span class="diffponct">&middot;</span>&#8203;individual<span class="diffponct">&middot;</span>&#8203;operations<span class="diffponct">&middot;</span>&#8203;on</td></tr>
<tr class="diffunmodified"><td class="diffline">105 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;socket.&#8203;</td><td class="diffline">105 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;socket.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">106 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;run_for(timeout_)&#8203;;&#8203;</td><td class="diffline">106 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;run_for(timeout_)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">107 </td><td class="diffpresent"></td><td class="diffline">107 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">108 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;completed<span class="diffponct">&middot;</span>&#8203;successfully<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context</td><td class="diffline">108 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;completed<span class="diffponct">&middot;</span>&#8203;successfully<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context</td></tr>
<tr class="diffunmodified"><td class="diffline">109 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;would<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;been<span class="diffponct">&middot;</span>&#8203;stopped<span class="diffponct">&middot;</span>&#8203;due<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;running<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;work.&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;it<span class="diffponct">&middot;</span>&#8203;was<span class="diffponct">&middot;</span>&#8203;not</td><td class="diffline">109 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;would<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;been<span class="diffponct">&middot;</span>&#8203;stopped<span class="diffponct">&middot;</span>&#8203;due<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;running<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;work.&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;it<span class="diffponct">&middot;</span>&#8203;was<span class="diffponct">&middot;</span>&#8203;not</td></tr>
<tr class="diffunmodified"><td class="diffline">110 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;stopped,&#8203;<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context:&#8203;:&#8203;run_for<span class="diffponct">&middot;</span>&#8203;call<span class="diffponct">&middot;</span>&#8203;must<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;timed<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;the</td><td class="diffline">110 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;stopped,&#8203;<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context:&#8203;:&#8203;run_for<span class="diffponct">&middot;</span>&#8203;call<span class="diffponct">&middot;</span>&#8203;must<span class="diffponct">&middot;</span>&#8203;have<span class="diffponct">&middot;</span>&#8203;timed<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;the</td></tr>
<tr class="diffunmodified"><td class="diffline">111 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;still<span class="diffponct">&middot;</span>&#8203;incomplete.&#8203;</td><td class="diffline">111 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;still<span class="diffponct">&middot;</span>&#8203;incomplete.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">112 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(!io_context.&#8203;stopped()&#8203;)&#8203;</td><td class="diffline">112 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(!io_context.&#8203;stopped()&#8203;)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">113 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">113 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">114 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Close<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;socket<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;cancel<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;outstanding<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td><td class="diffline">114 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Close<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;socket<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;cancel<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;outstanding<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;operation.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">115 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;socket_.&#8203;close()&#8203;;&#8203;</td><td class="diffline">115 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;socket_.&#8203;close()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">116 </td><td class="diffpresent"></td><td class="diffline">116 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">117 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;again<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;completes.&#8203;</td><td class="diffline">117 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;io_context<span class="diffponct">&middot;</span>&#8203;again<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;completes.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">118 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;run()&#8203;;&#8203;</td><td class="diffline">118 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;io_context.&#8203;run()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">119 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">119 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">120 </td><td class="diffpresent"></td><td class="diffline">120 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">121 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;failed,&#8203;<span class="diffponct">&middot;</span>&#8203;throw<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;exception.&#8203;<span class="diffponct">&middot;</span>&#8203;Otherwise<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result.&#8203;</td><td class="diffline">121 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;failed,&#8203;<span class="diffponct">&middot;</span>&#8203;throw<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;exception.&#8203;<span class="diffponct">&middot;</span>&#8203;Otherwise<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;result.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">122 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">c</span>_<span class="diffponct">&middot;</span>&#8203;?<span class="diffponct">&middot;</span>&#8203;throw<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;system_error(e<span class="diffchanged2">c</span>_)&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;t_;&#8203;</td><td class="diffline">122 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_<span class="diffponct">&middot;</span>&#8203;?<span class="diffponct">&middot;</span>&#8203;throw<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;system_error(e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_)&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;t_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">123 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">123 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">124 </td><td class="diffpresent"></td><td class="diffline">124 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">125 </td><td class="diffpresent">private:&#8203;</td><td class="diffline">125 </td><td class="diffpresent">private:&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">126 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;timeout_;&#8203;</td><td class="diffline">126 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;duration<span class="diffponct">&middot;</span>&#8203;timeout_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">127 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket&amp;<span class="diffponct">&middot;</span>&#8203;socket_;&#8203;</td><td class="diffline">127 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket&amp;<span class="diffponct">&middot;</span>&#8203;socket_;&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">128 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;error_code<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">c</span>_;&#8203;</td><td class="diffline">128 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;error_code<span class="diffponct">&middot;</span>&#8203;e<span class="diffchanged2">r</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">r</span>_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">129 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;T<span class="diffponct">&middot;</span>&#8203;t_;&#8203;</td><td class="diffline">129 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;T<span class="diffponct">&middot;</span>&#8203;t_;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">130 </td><td class="diffpresent">};&#8203;</td><td class="diffline">130 </td><td class="diffpresent">};&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">131 </td><td class="diffpresent"></td><td class="diffline">131 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">132 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;asio</td><td class="diffline">132 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;asio</td></tr>
<tr class="diffunmodified"><td class="diffline">133 </td><td class="diffpresent"></td><td class="diffline">133 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">134 </td><td class="diffpresent">/&#8203;/&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;</td><td class="diffline">134 </td><td class="diffpresent">/&#8203;/&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;-&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">135 </td><td class="diffpresent"></td><td class="diffline">135 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">136 </td><td class="diffpresent">int<span class="diffponct">&middot;</span>&#8203;main(int<span class="diffponct">&middot;</span>&#8203;argc,&#8203;<span class="diffponct">&middot;</span>&#8203;char*<span class="diffponct">&middot;</span>&#8203;argv[])&#8203;</td><td class="diffline">136 </td><td class="diffpresent">int<span class="diffponct">&middot;</span>&#8203;main(int<span class="diffponct">&middot;</span>&#8203;argc,&#8203;<span class="diffponct">&middot;</span>&#8203;char*<span class="diffponct">&middot;</span>&#8203;argv[])&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">137 </td><td class="diffpresent">{</td><td class="diffline">137 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">138 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;try</td><td class="diffline">138 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;try</td></tr>
<tr class="diffunmodified"><td class="diffline">139 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">139 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">140 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(argc<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;4)&#8203;</td><td class="diffline">140 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(argc<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;4)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">141 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">141 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">142 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Usage:&#8203;<span class="diffponct">&middot;</span>&#8203;blocking_tcp_client<span class="diffponct">&middot;</span>&#8203;&lt;host&gt;<span class="diffponct">&middot;</span>&#8203;&lt;port&gt;<span class="diffponct">&middot;</span>&#8203;&lt;message&gt;\n&quot;;&#8203;</td><td class="diffline">142 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Usage:&#8203;<span class="diffponct">&middot;</span>&#8203;blocking_tcp_client<span class="diffponct">&middot;</span>&#8203;&lt;host&gt;<span class="diffponct">&middot;</span>&#8203;&lt;port&gt;<span class="diffponct">&middot;</span>&#8203;&lt;message&gt;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">143 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;1;&#8203;</td><td class="diffline">143 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;1;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">144 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">144 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">145 </td><td class="diffpresent"></td><td class="diffline">145 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">146 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context<span class="diffponct">&middot;</span>&#8203;io_context;&#8203;</td><td class="diffline">146 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;io_context<span class="diffponct">&middot;</span>&#8203;io_context;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">147 </td><td class="diffpresent"></td><td class="diffline">147 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">148 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Resolve<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;host<span class="diffponct">&middot;</span>&#8203;name<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;service<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;list<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;endpoints.&#8203;</td><td class="diffline">148 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Resolve<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;host<span class="diffponct">&middot;</span>&#8203;name<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;service<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;list<span class="diffponct">&middot;</span>&#8203;of<span class="diffponct">&middot;</span>&#8203;endpoints.&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">149 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;resolver<span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">u</span><span class="diffchanged2">l</span>t<span class="diffchanged2">s</span><span class="diffchanged2">_</span>t<span class="diffchanged2">y</span><span class="diffchanged2">p</span>e<span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span>e<span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">s</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">=</span></td><td class="diffline">149 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span><span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">d</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">s</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">=</span><span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;resolver<span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span>t<span class="diffchanged2">e</span><span class="diffchanged2">x</span>t<span class="diffchanged2">)&#8203;</span><span class="diffchanged2">.&#8203;</span><span class="diffchanged2">r</span>e<span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">v</span>e<span class="diffchanged2">(</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">g</span><span class="diffchanged2">v</span><span class="diffchanged2">[</span><span class="diffchanged2">1</span><span class="diffchanged2">]</span><span class="diffchanged2">,&#8203;</span><span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">g</span><span class="diffchanged2">v</span><span class="diffchanged2">[</span><span class="diffchanged2">2</span><span class="diffchanged2">]</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span></td></tr>
<tr class="diffchanged"><td class="diffline">150 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">t</span><span class="diffchanged2">c</span><span class="diffchanged2">p</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">r</span><span class="diffchanged2">(</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">t</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">.&#8203;</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">s</span><span class="diffchanged2">o</span><span class="diffchanged2">l</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">(</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">g</span><span class="diffchanged2">v</span><span class="diffchanged2">[</span><span class="diffchanged2">1</span><span class="diffchanged2">]</span><span class="diffchanged2">,&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">a</span><span class="diffchanged2">r</span><span class="diffchanged2">g</span><span class="diffchanged2">v</span><span class="diffchanged2">[</span><span class="diffchanged2">2</span><span class="diffchanged2">]</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">151 </td><td class="diffpresent"></td><td class="diffline">150 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">152 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket<span class="diffponct">&middot;</span>&#8203;socket(io_context)&#8203;;&#8203;</td><td class="diffline">151 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;tcp:&#8203;:&#8203;socket<span class="diffponct">&middot;</span>&#8203;socket(io_context)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">153 </td><td class="diffpresent"></td><td class="diffline">152 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">154 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;connect<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td><td class="diffline">153 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;connect<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">155 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;async_connect(socket,&#8203;<span class="diffponct">&middot;</span>&#8203;endpoints,&#8203;</td><td class="diffline">154 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;async_connect(socket,&#8203;<span class="diffponct">&middot;</span>&#8203;endpoints,&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">156 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(10)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket)&#8203;)&#8203;;&#8203;</td><td class="diffline">155 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(10)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">157 </td><td class="diffpresent"></td><td class="diffline">156 </td><td class="diffpresent"></td></tr>
<tr class="diffchanged"><td class="diffline">158 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;as<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;<span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span>n<span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">=</span></td><td class="diffline">157 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;a<span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">s</span><span class="diffchanged2">e</span><span class="diffchanged2">n</span><span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">=</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span>s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;n<span class="diffchanged2">o</span><span class="diffchanged2">w</span><span class="diffchanged2">(</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span></td></tr>
<tr class="diffchanged"><td class="diffline">159 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">l</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">w</span><span class="diffchanged2">(</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">160 </td><td class="diffpresent"></td><td class="diffline">158 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">161 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;write<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td><td class="diffline">159 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;write<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">162 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;msg<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;argv[3]<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string(&quot;\n&quot;)&#8203;;&#8203;</td><td class="diffline">160 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;msg<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;argv[3]<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string(&quot;\n&quot;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">163 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;async_write(socket,&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;buffer(msg)&#8203;,&#8203;</td><td class="diffline">161 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;async_write(socket,&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;buffer(msg)&#8203;,&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">164 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(10)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket)&#8203;)&#8203;;&#8203;</td><td class="diffline">162 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(10)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">165 </td><td class="diffpresent"></td><td class="diffline">163 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">166 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;input_buffer;&#8203;;&#8203;)&#8203;</td><td class="diffline">164 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;input_buffer;&#8203;;&#8203;)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">167 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">165 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">168 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;read<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td><td class="diffline">166 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;an<span class="diffponct">&middot;</span>&#8203;asynchronous<span class="diffponct">&middot;</span>&#8203;read<span class="diffponct">&middot;</span>&#8203;operation<span class="diffponct">&middot;</span>&#8203;with<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;timeout.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">169 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;n<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;async_read_until(sock&#8203;et,&#8203;</td><td class="diffline">167 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;n<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;async_read_until(sock&#8203;et,&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">170 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;dynamic_buffer(input_&#8203;buffer)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;'\n',&#8203;</td><td class="diffline">168 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;asio:&#8203;:&#8203;dynamic_buffer(input_&#8203;buffer)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;'\n',&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">171 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(10)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket)&#8203;)&#8203;;&#8203;</td><td class="diffline">169 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;close_after(s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;seconds(10)&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;socket)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">172 </td><td class="diffpresent"></td><td class="diffline">170 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">173 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;line(input_buffer.&#8203;substr(0,&#8203;<span class="diffponct">&middot;</span>&#8203;n<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;1)&#8203;)&#8203;;&#8203;</td><td class="diffline">171 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;line(input_buffer.&#8203;substr(0,&#8203;<span class="diffponct">&middot;</span>&#8203;n<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;1)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">174 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;input_buffer.&#8203;erase(0,&#8203;<span class="diffponct">&middot;</span>&#8203;n)&#8203;;&#8203;</td><td class="diffline">172 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;input_buffer.&#8203;erase(0,&#8203;<span class="diffponct">&middot;</span>&#8203;n)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">175 </td><td class="diffpresent"></td><td class="diffline">173 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">176 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Keep<span class="diffponct">&middot;</span>&#8203;going<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;we<span class="diffponct">&middot;</span>&#8203;get<span class="diffponct">&middot;</span>&#8203;back<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;line<span class="diffponct">&middot;</span>&#8203;that<span class="diffponct">&middot;</span>&#8203;was<span class="diffponct">&middot;</span>&#8203;sent.&#8203;</td><td class="diffline">174 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Keep<span class="diffponct">&middot;</span>&#8203;going<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;we<span class="diffponct">&middot;</span>&#8203;get<span class="diffponct">&middot;</span>&#8203;back<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;line<span class="diffponct">&middot;</span>&#8203;that<span class="diffponct">&middot;</span>&#8203;was<span class="diffponct">&middot;</span>&#8203;sent.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">177 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(line<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;argv[3])&#8203;</td><td class="diffline">175 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(line<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;argv[3])&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">178 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;break;&#8203;</td><td class="diffline">176 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;break;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">179 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">177 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">180 </td><td class="diffpresent"></td><td class="diffline">178 </td><td class="diffpresent"></td></tr>
<tr class="diffchanged"><td class="diffline">181 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;as<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;<span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">p</span><span class="diffchanged2">o</span><span class="diffchanged2">i</span>n<span class="diffchanged2">t</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">i</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">=</span></td><td class="diffline">179 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;a<span class="diffchanged2">u</span><span class="diffchanged2">t</span><span class="diffchanged2">o</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">t</span><span class="diffchanged2">i</span><span class="diffchanged2">m</span><span class="diffchanged2">e</span><span class="diffchanged2">_</span><span class="diffchanged2">r</span><span class="diffchanged2">e</span><span class="diffchanged2">c</span><span class="diffchanged2">e</span><span class="diffchanged2">i</span><span class="diffchanged2">v</span><span class="diffchanged2">e</span><span class="diffchanged2">d</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">=</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span>s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;steady_clock:&#8203;:&#8203;n<span class="diffchanged2">o</span><span class="diffchanged2">w</span><span class="diffchanged2">(</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span></td></tr>
<tr class="diffchanged"><td class="diffline">182 </td><td class="diffpresent"><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2"><span class="diffponct">&middot;</span>&#8203;</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">i</span><span class="diffchanged2">o</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">c</span><span class="diffchanged2">h</span><span class="diffchanged2">r</span><span class="diffchanged2">o</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">e</span><span class="diffchanged2">a</span><span class="diffchanged2">d</span><span class="diffchanged2">y</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">l</span><span class="diffchanged2">o</span><span class="diffchanged2">c</span><span class="diffchanged2">k</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">n</span><span class="diffchanged2">o</span><span class="diffchanged2">w</span><span class="diffchanged2">(</span><span class="diffchanged2">)&#8203;</span><span class="diffchanged2">;&#8203;</span><span class="diffchanged2"></span></td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">183 </td><td class="diffpresent"></td><td class="diffline">180 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">184 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Round<span class="diffponct">&middot;</span>&#8203;trip<span class="diffponct">&middot;</span>&#8203;time:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;;&#8203;</td><td class="diffline">181 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Round<span class="diffponct">&middot;</span>&#8203;trip<span class="diffponct">&middot;</span>&#8203;time:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;;&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">185 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;duration_cast&lt;</td><td class="diffline">182 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;duration_cast&lt;</td></tr>
<tr class="diffchanged"><td class="diffline">186 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">a</span>s<span class="diffchanged2">i</span><span class="diffchanged2">o</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;microseconds&gt;(</td><td class="diffline">183 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s<span class="diffchanged2">t</span><span class="diffchanged2">d</span>:&#8203;:&#8203;chrono:&#8203;:&#8203;microseconds&gt;(</td></tr>
<tr class="diffunmodified"><td class="diffline">187 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;time_received<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;time_sent)&#8203;.&#8203;count()&#8203;;&#8203;</td><td class="diffline">184 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;time_received<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;time_sent)&#8203;.&#8203;count()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">188 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;microseconds\n&quot;;&#8203;</td><td class="diffline">185 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cout<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;microseconds\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">189 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">186 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">190 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;catch<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;exception&amp;<span class="diffponct">&middot;</span>&#8203;e)&#8203;</td><td class="diffline">187 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;catch<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;exception&amp;<span class="diffponct">&middot;</span>&#8203;e)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">191 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">188 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">192 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Exception:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;e.&#8203;what()&#8203;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;\n&quot;;&#8203;</td><td class="diffline">189 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Exception:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;e.&#8203;what()&#8203;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">193 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">190 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">194 </td><td class="diffpresent"></td><td class="diffline">191 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">195 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td><td class="diffline">192 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">196 </td><td class="diffpresent">}</td><td class="diffline">193 </td><td class="diffpresent">}</td></tr>

</table>

<footer>
    <p>Modified at 12.12.2018. HTML formatting created by <a href="http://git.droids-corp.org/gitweb/?p=diff2html;a=summary">diff2html</a>.    </p>
</footer>
</body></html>
